/*
 * Plane.h
 *
 *  Created on: 25/05/2010
 *      Author: greenben
 */

#ifndef PLANE_H_
#define PLANE_H_

#include "Object3D.h"
#include "vectors.h"

class Plane: public Object3D {
public:
	Plane();
	Plane(Vec3f& normal,float& offset,Vec3f& current_object_color);
	virtual ~Plane();
	virtual bool intersect(const Ray &r, Hit &h, float tmin);
};

#endif /* PLANE_H_ */
